<h4 class='news_title'>A la une</h4>

{% if news_list_big_highlight|length > 0 %}
<div id='news-home'>
    <ul class='news-big-image'>
        {% for news in news_list_big_highlight %}
            <li class='l_{{ loop.index }}{% if loop.index == 1 %} visible{% endif %}'>
                <img src='{{ news.image }}' title='{{ news.title | truncate(40) | raw }}' alt='{{ news.title | truncate(40) | raw }}' width='{{ news.width }}' height='{{ news.height }}' />
            </li>
        {% endfor %}
    </ul>
    <div class='news-home-bg'></div>
    <div class='news-big-highlight'>
        <ul>
            {% for news in news_list_big_highlight %}
                <li class='l_{{ loop.index }}{% if loop.index == 1 %} selected{% endif %} new'>
                    <h2><a href="{{ path('_baseNewsShow', {"slug": news.slug, "year": news.year, "month": news.month } ) }}">{{ news.title | truncate(40) | raw }}</a></h2>
                    <div class='desc'>
                        <span class='date'>Posté le {{ news.updatedAt }}</span>
                        <p>{{ news.content | truncate(85) | striptags | raw }}</p>
                    </div>
                </li>
            {% endfor %}
        </ul>
    </div>
</div>
{% endif %}

{% if news_list_small_highlight|length > 0 %}
<h4 class='news_title'>Le reste de l'actualité</h4>

<ul id='news-small-highlight'>
 {% for news in news_list_small_highlight %}
  <li class='fleft l_{{ loop.index }} new'>
   <span class='date'>Posté le {{ news.updatedAt }}</span>
   <h3><a href="{{ path('_baseNewsShow', {"slug": news.slug, "year": news.year, "month": news.month } ) }}">{{ news.title | truncate(60) | raw }}</a></h3>
  </li>
 {% endfor %}
</ul>
{% endif %}

<p class='all_news_link'>Découvrez toute <a href="{{ path('_baseNewsIndex') }}">l'actualité de CPF Aizenay</a></p>